@charset "utf-8";

/* -------------------- GLOBAL -------------------- */
html, body {
  margin: 0;
  padding: 0;
  font-family: roboto, sans-serif;
  background:
    linear-gradient(to bottom,
      rgba(2,77,43,0.85),
      rgba(1,51,26,0.85),
      rgba(1,38,19,0.85)),
    url("images/seattlenight.webp") no-repeat center center fixed;
  background-size: cover;
  color: white;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* -------------------- SITE TITLE -------------------- */
.site-title {
  background: linear-gradient(to right, #000000, #01331a, #004d26);
  text-align: center;
  padding: 20px;
}
.site-title h1 {
  margin: 0;
  font-size: 2.5em;
  letter-spacing: 1px;
}

/* -------------------- NAVIGATION -------------------- */
nav {
  background: linear-gradient(to right, #aaaaaa, #cccccc, #eeeeee);
  text-align: center;
  padding: 10px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}
nav a {
  color: #000;
  margin: 0 15px;
  text-decoration: none;
  font-weight: bold;
}
nav a:hover {
  text-decoration: underline;
  color: #1faa59;
}

/* -------------------- CONTENT -------------------- */
.content {
  flex: 1;
  max-width: 1000px;
  margin: auto;
  padding: 40px 20px;
}

/* -------------------- BLOG INDEX -------------------- */
.blog-link {
  text-decoration: none;
  color: inherit;
  display: block;
  margin-bottom: 20px;
}
.blog-link:hover .blog-entry {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.5);
}

.blog-entry {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 20px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  padding: 20px;
  border: 3px solid #00e676;
  border-radius: 12px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  flex-wrap: wrap;
}

.blog-thumbnail {
  flex: 0 0 200px;
}
.blog-thumbnail img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  border: 3px solid #00e676;
  box-shadow: 0 4px 12px rgba(0,230,118,0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.blog-thumbnail img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0,230,118,0.7);
}

.blog-text {
  flex: 1;
}
.blog-text h3 {
  color: #00e676;
  margin-top: 0;
}
.blog-text p {
  color: #fff;
  line-height: 1.6;
  margin-top: 10px;
}
.blog-date {
  font-size: 0.9em;
  color: #ccc;
  margin-bottom: 10px;
}

/* -------------------- POST CONTAINER -------------------- */
.post-container {
  background: rgba(0,0,0,0.6);
  color: #fff;
  padding: 40px;
  border-radius: 16px;
  border: 3px solid #00e676;
  max-width: 850px;
  margin: auto;
}

/* Section label */
.section-label {
  color: #00e676;
  font-size: 0.9em;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
  font-weight: bold;
}

/* Post title */
.post-title {
  font-size: 2.4em;
  margin: 8px 0 16px;
  color: #fff;
  line-height: 1.2;
}

/* Meta info row */
.post-meta {
  font-size: 0.9em;
  color: #ccc;
  margin-bottom: 20px;
}
.post-meta .meta-item {
  margin-right: 16px;
}

/* Lede paragraph */
.lede {
  font-size: 1.2em;
  margin-bottom: 16px;
  color: #fff;
}

/* Author byline */
.byline {
  color: #aaa;
  font-size: 0.9em;
  margin-bottom: 24px;
}

/* Headings inside article */
.post-container h2 {
  font-size: 1.5em;
  color: #00e676;
  margin-top: 30px;
  margin-bottom: 10px;
}

/* Featured Image inside post */
.blog-full-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 10px;
  border: 3px solid #00e676;
  box-shadow: 0 4px 15px rgba(0,230,118,0.4);
  margin: 20px 0;
}

/* -------------------- RELATED POSTS -------------------- */
.related-posts {
  margin-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 20px;
}
.related-posts h3 {
  color: #00e676;
}
.related-posts ul {
  list-style: none;
  padding-left: 0;
}
.related-posts li {
  margin-bottom: 8px;
}
.related-posts a {
  color: #00e676;
  text-decoration: none;
}
.related-posts a:hover {
  text-decoration: underline;
}

/* -------------------- FOOTER -------------------- */
footer {
  text-align: center;
  margin-top: 40px;
}
footer h3 {
  background: linear-gradient(to right, #000000, #01331a, #004d26);
  color: #fff;
  margin: 0;
  font-size: 1.4em;
  font-weight: normal;
  padding: 12px 0;
}
.footer-links {
  background: linear-gradient(to right, #aaaaaa, #cccccc, #eeeeee);
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
  padding: 20px;
}
.footer-links a {
  color: #000;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: bold;
}
.footer-links a:hover {
  color: #1faa59;
  text-decoration: underline;
}
/* -------------------- READABILITY IMPROVEMENTS -------------------- */

/* General paragraph spacing */
p {
  line-height: 1.8;        /* more vertical breathing room */
  margin-bottom: 1.4em;   /* space between paragraphs */
}

/* Blog / post specific text */
.blog-text p,
.post-container p {
  line-height: 1.85;
  margin-bottom: 1.6em;
}

/* Lede paragraph (intro) */
.lede {
  line-height: 1.9;
  margin-bottom: 1.8em;
}
